**************************************** Table 4, Panel B, Columns 4-6 *********************************************
**************************************** NFT Collections Outcomes Analysis ************************************************

clear all

*import ICO outcome regressions data 
import delimited "nft_outcome_regressions.csv"


label variable nft_svi_std "NFT collection SVI"
label variable log_fund_raised  "Log(Funds raised)"
label variable days_mint99 "Days to mint 99%"
label variable mint_wallets "# Minting wallets"


*column 4
eststo r4: reghdfe log_fund_raised nft_svi_std royalty_fee_std total_supply_std rare_items has_twitter has_discord, absorb(yearqtr) vce(cluster yearqtr) keepsingletons
estadd local yrqtr_fe Yes
estadd local nft_control Yes


*column 5
eststo r5: reghdfe mint_wallets nft_svi_std royalty_fee_std total_supply_std rare_items has_twitter has_discord, absorb(yearqtr) vce(cluster yearqtr) keepsingletons
estadd local yrqtr_fe Yes
estadd local nft_control Yes


*column 6
eststo r6: reghdfe days_mint99 nft_svi_std royalty_fee_std total_supply_std rare_items has_twitter has_discord, absorb(yearqtr) vce(cluster yearqtr) keepsingletons
estadd local yrqtr_fe Yes
estadd local nft_control Yes



*columns output
esttab r4 r5 r6, replace label se keep(nft_svi_std) stats(N yrqtr_fe nft_control r2_a, fmt(%9.0g %9.3f) labels(N "Year-Qtr fixed effects" "NFT collection controls" "Adj. R-squared"))  starlevels( * 0.10 ** 0.05 *** 0.010)